//表单验证规则
const rules = {
    name: [
        { required: true, message: '请输入姓名', trigger: 'blur' }
    ],
    category: [
        { required: true, message: '请选择人口分类', trigger: 'blur' }
    ],
    cardType: [
        { required: true, message: '请选择证件类型', trigger: 'blur' }
    ],
    idcard: [
        { required: true, message: '请输入证件号码', trigger: 'blur' }
    ],
    contact: [
        { required: true, message: '请输入联系方式', trigger: 'blur' }
    ],
    nation: [
        { required: true, message: '请选择民族信息', trigger: 'blur' }
    ],
    education: [
        { required: true, message: '请选择文化程度', trigger: 'blur' }
    ],
}

export default rules;